package main

import "fmt"

func main() {

	num1 := 100
	fmt.Printf("num1的类型%T, num1的值是%v,地址是%v\n", num1, num1, &num1)
	num2 := new(int)
	fmt.Printf("num2的类型%T,  值是%v,地址是%v\n", num2, num2, &num2)

	*num2 = 100
	fmt.Println(*num2)
}
